package com.demo.entity;


import java.io.Serializable;

public class Course implements Serializable {

  //这个Course对象有三个私有属性，要让别人访问他只能提供方法把属性传出去
  //get是获取这个属性的值，set是设置
  private long id;
  private String courseName;
  private long classId;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }


  public long getClassId() {
    return classId;
  }

  public void setClassId(long classId) {
    this.classId = classId;
  }

}
